dict1 = {'name' : 'TOM', 'age' : 20, 'gender' : '男'}

# del 删除字典或指定的键值对
# del(dict1)
# print(dict1)


# del dict1['name']
# del dict1['names']
# print(dict1)

#clear()
dict1.clear()
print(dict1)